//
//  SmsCloudAearHistoryCollectionCell.m
#import "SmsCloudAearHistoryCollectionCell.h"
@interface SmsCloudAearHistoryCollectionCell()
@property (nonatomic, strong) UILabel *smsCloudAearHistoryLab;
@end
@implementation SmsCloudAearHistoryCollectionCell
-(instancetype)initWithFrame:(CGRect)frame{
    if (self == [super initWithFrame:frame]) {
        [self smsCloudInitView];
    }
    return self;
}
- (void)smsCloudInitView{
    self.smsCloudAearHistoryLab = [[UILabel alloc] init];
    self.smsCloudAearHistoryLab.font = [UIFont systemFontOfSize:[SmsCloudHead SmsCloudScreewRatio:28] weight:UIFontWeightRegular];
    self.smsCloudAearHistoryLab.backgroundColor = [SmsCloudHead SmsCloudColorHexString:@"#F5F5F5"];
    self.smsCloudAearHistoryLab.layer.cornerRadius = [SmsCloudHead SmsCloudScreewRatio:8];
    self.smsCloudAearHistoryLab.clipsToBounds = YES;
    self.smsCloudAearHistoryLab.textColor = [SmsCloudHead SmsCloudColorHexString:@"#222222"];
    self.smsCloudAearHistoryLab.textAlignment = NSTextAlignmentCenter;
    [self.contentView addSubview:self.smsCloudAearHistoryLab];
    [self.smsCloudAearHistoryLab mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(@([SmsCloudHead SmsCloudScreewRatio:0]));
    }];
}
-(void)setSmsCloudAearHistory:(NSString *)smsCloudAearHistory{
    _smsCloudAearHistory = smsCloudAearHistory;
    self.smsCloudAearHistoryLab.text = _smsCloudAearHistory;
}
@end
